<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<title>Login Puskesmas</title>
<link type="text/css" rel="stylesheet" href="style/login.css">
</head>
<body onload="document.f.j_username.focus();">
<div class="login_box">

<div class="login_logo"></div>

<div class="logo_erp">
<p class="s1">SIPUS</p>
<p class="s2">SISTEM INFORMASI PUSKESMAS</p>
</div>

<%
	if (request.getParameter("login_error") != null) {
%> <font color="red"> Your login attempt was not successful, try
again.<br />
<br />
Reason: <c:out value="${SPRING_SECURITY_LAST_EXCEPTION.message}" />. </font> <%
 	}
 %>

<form name="f" action="<c:url value='j_spring_security_check'/>"
	method="POST">

<p><label>Username</label> <input type='text' class="textinput"
	name='j_username'
	value='<c:if test="${not empty param.login_error}"><c:out value="${SPRING_SECURITY_LAST_USERNAME}"/></c:if>' />
</p>

<p><label>Password</label> <input type='password' class="textinput"
	name='j_password'></p>
<p><label>&nbsp;</label> <input type="checkbox" class="checkbox"
	name="_spring_security_remember_me">Biarkan Saya Tetap Masuk</p>
<p><input type="submit" value="login" class="btnlogin"></p>

</form>
</div>
</body>
</html>




